package com.wzdigit.wms.basic.domain.transfer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.math.BigDecimal;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 装柜余留单明细
 * </p>
 *
 * @author 
 * @since 2021-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_GDN_REMAIN_DTL")
@KeySequence(value = "WMS_GDN_REMAIN_DTL_SEQ", clazz = Integer.class)
public class GdnRemainDtl extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 余留单明细ID
     */
    @TableId(value = "GDN_REMAIN_DTL_ID", type = IdType.INPUT)
    private Integer gdnRemainDtlId;

    /**
     * 余留单表头ID
     */
    @TableField("GDN_REMAIN_HEADER_ID")
    private Integer gdnRemainHeaderId;

    /**
     * 发货单明细ID
     */
    @TableField("GDN_DTL_ID")
    private Long gdnDtlId;

    /**
     * 订单号
     */
    @TableField("PO")
    private String po;

    /**
     * 货品
     */
    @TableField("SKU_ID")
    private Integer skuId;

    /**
     * 余留数量
     */
    @TableField("REMAIN_QTY")
    private BigDecimal remainQty;

    /**
     * 发出仓库
     */
    @TableField("SHIP_WHS")
    private Integer shipWhs;

    /**
     * 余留仓库
     */
    @TableField("REMAIN_WHS")
    private Integer remainWhs;

    /**
     * 用户自定义字段1
     */
    @TableField("UDF1")
    private String udf1;

    /**
     * 用户自定义字段2
     */
    @TableField("UDF2")
    private String udf2;

    /**
     * 用户自定义字段3
     */
    @TableField("UDF3")
    private String udf3;

    /**
     * 用户自定义字段4
     */
    @TableField("UDF4")
    private String udf4;

    /**
     * 用户自定义字段5
     */
    @TableField("UDF5")
    private String udf5;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;

    /**
     * 余留单状态
     */
    @TableField("STATUS")
    private Integer status;
}
